import type {ExtractPropTypes} from 'vue'
import {buildProps} from "@/utils";
// import type {ElDatePicker} from "element-plus";

export const devDateTimeProps = buildProps({
    // 绑定开始时间
    startTime: {
        type: [String, Date,Number,null],
        default: ''
    },
    // 绑定结束时间
    endTime: {
        type: [String, Date,Number,null],
        default: ''
    },
    modelValue:{
        type:[String,Date,Number,null],
        default:''
    },
    // 时间选择器的模式
    separateBinding:{
        type:Boolean,
        default:false
    }
} as const)
export type DevDateTimeProps = ExtractPropTypes<typeof devDateTimeProps>
